package com.ybzl.mini.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@TableName("mini_fankui")
public class MiniFankui {

    @TableId("id")
    private Long id;

    @TableField("username")
    private String username;

    @TableField("nickname")
    private String nickName;

    @TableField("info")
    private String info;

    @TableField("time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date time;
}
